<?php
// 本类由系统自动生成，仅供测试用途
class IndexAction extends Action {
	public function index(){
		if(isset($_SESSION['username'])){
			$this->username = 'thinkphp';
			$this->display();
		}else{
			echo "<script type='text/javascript'>window.location.href='Member';</script>";
		}
	}
}
?>